Skip to content

Refactor Runner parameter overloads and resolve review comments#2210

Open
rafal-hawrylak wants to merge 1 commit into
mainfrom
pr4b-refactor-runner
Open

Refactor Runner parameter overloads and resolve review comments#2210
rafal-hawrylak wants to merge 1 commit into
mainfrom
pr4b-refactor-runner

Conversation

@rafal-hawrylak

Copy link
Copy Markdown
Collaborator

Pre follow up of #2184

@rafal-hawrylak rafal-hawrylak requested a review from a team as a code owner June 19, 2026 19:15
@rafal-hawrylak rafal-hawrylak requested review from Ceridan and removed request for a team and Ceridan June 19, 2026 19:15
@rafal-hawrylak rafal-hawrylak force-pushed the pr4b-refactor-runner branch 3 times, most recently from 7df9bd9 to edb1e7d Compare July 2, 2026 09:30
Comment thread cli/api/commands/run.ts
}

export interface IExecutionOptions {
projectDir?: string;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this projectDir used downstream in latter PRs?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this PR I can see that we are adding this field here, and then we are setting it (under some conditions to "."), but I am not sure how it is used. Possibly it is needed latter.

I can guess what this field does in general by the name, but is it needed?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is needed in the next PR - #2211. It is passed as the second arg to jitCompiler (via JitCompileChildProcess.compile) — it's the resolution root the worker needs to locate the caller's @dataform/core install. Plumbing it in here is the way to reduce the size of the next PR and still keep the reasonable amount of PRs.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is needed in the next PR — #2211. It is passed as the second arg to jitCompiler (via JitCompileChildProcess.compile) — it is the resolution root the worker needs to locate the caller's @dataform/core install. Plumbing it in here is the way to reduce the size of the next PR and still keep the reasonable amount of PRs.

Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts Outdated
Comment thread cli/api/commands/run.ts
Comment thread cli/api/commands/run.ts Outdated
@rafal-hawrylak rafal-hawrylak force-pushed the pr4b-refactor-runner branch from edb1e7d to b668ebf Compare July 6, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants